package com.example.fashionshoes.pojo.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserCoupon {
    private Integer id;
    private Integer couponId;
    private Integer userId;
    private String orderNumber;
    //获取类型：0->后台赠送；1->主动获取
    private Integer getType;
    //获取时间
    private LocalDateTime getTime;
    //使用状态：0->未使用；1->已使用；2->已过期
    private Integer status;
    //使用时间
    private LocalDateTime useTime;


}
